﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace NDF.XnaLibrary.Models
{
	public class BoneTransformation
	{
		/// <summary>
		/// Creates a new BoneTransformation object.
		/// </summary>
		/// <param name="bone">The model bone.</param>
		/// <param name="transformation">The transformation applied to the bone.</param>
		public BoneTransformation(ModelBoneIndex bone, Matrix transformation)
		{
			Bone = bone;
			Transform = transformation;
		}

		/// <summary>
		/// Gets the ModelBoneIndex of the given frame.
		/// </summary>
		public ModelBoneIndex Bone { get; private set; }

		/// <summary>
		/// Gets the transformation applied to this bone.
		/// </summary>
		public Matrix Transform { get; private set; }

	}

	public enum ModelBoneIndex 
	{
		Head, Neck, Spine, Waist, L_Hand, R_Hand
	}
}
